/******************************************************************************************
 * Import
 ******************************************************************************************/

// module
import Taro, { Component } from '@tarojs/taro';
import { Swiper } from '@tarojs/components';

// project
import { CPage, CContent, CHeader, CFooter, CFloat, CAround, CBetween, CCenter, CRow, CWrap, CLine, CHand, CItemX, CItemY, CText, CLabel, CSvg, CImage, CButton, CColumn } from '../../../library/comp';
import { Base64, Gen, Time, Zip, Session, Storage, Toast} from '../../../library/func';
import Icon from '../../../project/style/icon';
import Http from '../../../project/func/http/http';
import '../../../library/style/patch.css';

/******************************************************************************************
 * Export Class
 ******************************************************************************************/

export default class Finish extends Component {

	constructor(props) {
		super(props);

		/**
		 * state
		 */
		this.state = {

        }
	}

	/**
	 * 渲染
	 */
	render() {
        // 制作样式
		// const subonClick = this.props.subonClick? this.props.subonClick:{};

		// 渲染
		return (
			<CFooter x='center' h='50' bg='#fbfbfb' bt='1 #f2f2f2' y='center' bg='#cbb383' class='w1'>
                <CHand class='f1' x='center' onClick={ this.props.onDosome }>
                    <CHand style='text-align:center' x='center' color='#fff' size='18'>{this.props.text ? this.props.text : '完成'}</CHand>
                </CHand>
			</CFooter>
		);
	}
}
